const adRouter = {
  path: 'advert_manage',
  name: 'AdvertManage',
  hidden: true,
  component: () => import('@/views/operate/index'),
  redirect: '/operation/advert_manage/advert_list',
  meta: { title: '广告管理' },
  children: [
    {
      path: 'advert_list',
      name: 'AdvertList',
      hidden: true,
      meta: { title: '广告管理', noCache: true },
      component: () => import('@/views/operate/advert/index')
    },
    {
      path: 'add_advert',
      name: 'AddAdvert',
      hidden: true,
      meta: { title: '新增广告位', noCache: true },
      component: () => import('@/views/operate/advert/add-advert')
    },
    {
      path: 'edit_advert',
      name: 'EditAdvert',
      hidden: true,
      meta: { title: '编辑广告位', noCache: true },
      component: () => import('@/views/operate/advert/add-advert')
    },
    {
      path: 'add_popup',
      name: 'AddPopup',
      hidden: true,
      meta: { title: '新增广告弹窗', noCache: true },
      component: () => import('@/views/operate/advert/add-popup')
    },
    {
      path: 'edit_popup',
      name: 'EditPopup',
      hidden: true,
      meta: { title: '编辑广告弹窗', noCache: true },
      component: () => import('@/views/operate/advert/add-popup')
    }
  ]
}

export default adRouter
